﻿using Microsoft.Extensions.Localization;
using Sy.ImplementationAssist.Localization;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Ui.Branding;

namespace Sy.ImplementationAssist.Blazor;

[Dependency(ReplaceServices = true)]
public class ImplementationAssistBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<ImplementationAssistResource> _localizer;

    public ImplementationAssistBrandingProvider(IStringLocalizer<ImplementationAssistResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}
